Skip to content

Instantly share code, notes, and snippets.

@sopyb
sopyb / draft.md
Last active October 19, 2026 11:37

Terminal Audio Protocol

The goal of this protocol is to create a way for a program running in a terminal emulator, which we call the client, to play audio through the host system's audio output.

Design goals:

  • No codec libraries should be required
  • Streaming-first. Audio plays as soon as data arrives.
  • Local optimization. Uses shared memory or filesystem transport when client and terminal share a filesystem; falls back to inline escape codes for remote clients.

The following things are not part of the base protocol and will not be considered until it is stable:

@teo-casares
teo-casares / 0-README.md
Created October 18, 2026 20:37
Omarchy on the Microsoft Surface Laptop Ultra (NVIDIA N1X): full write-up, kernel patches, DKMS modules, services and configs

Omarchy on the Microsoft Surface Laptop Ultra (NVIDIA N1X): the whole journey

Written 2026-10-18. This document collects everything it took to go from "the Omarchy aarch64 ISO boots to a dead machine" to a daily-driver laptop: what broke, how each cause was found, what fixed it, where the fix lives, and what should go upstream so the next person doesn't have to repeat any of it.

The detailed working notes this is distilled from:

  • ~/omarchy-n1x-issues.md: boot, Limine/GRUB, NVIDIA carveout investigation (test-by-test)
  • ~/SURFACE-OMARCHY-ISSUES.md: overall status, disk layout, ACPI findings, webcam
  • ~/surface-laptop-ultra-issues.md: touchpad investigation
@rdeangel
rdeangel / zigbee2mqtt-tuya-4-button-switch-mqtt-device-trigger_rdeangel.yaml
Last active October 19, 2026 11:31
Zigbee2MQTT - Tuya 4-Button Switch (MQTT Device Trigger) - rdeangel
blueprint:
name: Zigbee2MQTT - Tuya 4-Button Switch (MQTT Device Trigger) - rdeangel
description: "Blueprint Version: 11-01-25\n
Blueprint Name: Zigbee2MQTT - Tuya 4-Button Switch (MQTT Device Trigger) - rdeangel\n\n
This blueprint uses MQTT `device` based triggers and it will be triggered only when the selected Device MQTT messages are received."
domain: automation
input:
mode:
name: Automation Modes
description: https://www.home-assistant.io/docs/automation/modes/
@loggedbytucker-blip
loggedbytucker-blip / pi-commands.md
Last active October 19, 2026 11:25
Raspberry Pi 5 media server — Immich + Jellyfin + Tailscale

Raspberry Pi 5 Media Server — Commands

Immich (photos) + Jellyfin (movies/TV) + Tailscale (access from anywhere). Commands only, in the order they're run in the video.

Tested August 2026 on:

Hardware Raspberry Pi 5, 8GB — CanaKit Starter Kit PRO
@vascodegraaff
vascodegraaff / personalos-spec.md
Created October 18, 2026 20:12
PersonalOS recreation spec by Will Depue (copied from https://pastebin.com/ueZ6wTHM)

PERSONALOS RECREATION SPECIFICATION Sanitized, implementation-oriented version

Purpose of this document

This file specifies the PersonalOS system as a reusable private research and tooling environment. It is written so another person can recreate the same kind of system for their own life archive without receiving any private facts from the original workspace.

@V1ki
V1ki / droid_mission_prompt.md
Created March 24, 2026 23:13
Factory Droid /missions — Complete Orchestrator & Worker prompts reverse engineered via mitmweb (51KB mission prompt, 3 mission tools, worker delegation model)

Factory Droid /missions — Complete Reverse Engineering

Extracted: 2026-03-25 Method: mitmweb HTTPS intercept of POST api.factory.ai/api/llm/a/v1/messages Droid: factory-cli/0.84.0 Orchestrator: claude-opus-4-6 (max_tokens=128000) Worker: claude-opus-4-6 (max_tokens=128000) Mission LLM flows captured: 83 requests


@ObaidUr-Rahmaan
ObaidUr-Rahmaan / droid-with-claude-or-codex-guide.txt
Created November 16, 2025 12:12
Use Factory Droids w/ Claude Code / Codex Subscription (via CLIProxyAPI)
## Executive Summary
This guide documents how to use Factory's Droid CLI with your Claude Code Max subscription (OAuth authentication) instead of pay-per-token API keys. The solution leverages CLIProxyAPI as a transparent authentication proxy that converts API key requests from Factory CLI into OAuth-authenticated requests for Anthropic's API.
## Architecture Overview
```
Factory CLI → [Anthropic Format + API Key] → CLIProxyAPI → [Anthropic Format + OAuth] → Anthropic API
↓
(Auth Header Swap)
@badlogic
badlogic / compaction.md
Created December 2, 2025 14:11
Context Compaction Research: Claude Code, Codex CLI, OpenCode, Amp

Context Compaction

Research on how other coding assistants implement context compaction to manage long conversations.

Overview

Context compaction (also called "handoff" or "summarization") is a technique to manage the context window in long coding sessions. When conversations grow too long, performance degrades and costs increase. Compaction summarizes the conversation history into a condensed form, allowing work to continue without hitting context limits.

Claude Code

@ThiagoBarradas
ThiagoBarradas / windows-keys.md
Created December 8, 2024 07:35 — forked from rvrsh3ll/windows-keys.md
Windows Product Keys

NOTE

These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.

Index

@cruithne3753
cruithne3753 / Hide_Upgrade_Your_Plan_ALL.reg
Last active October 19, 2026 11:14
Hides the 'Upgrade your plan' button in Office 2021/2024 AND Microsoft 365. (Includes Restore option as well.)
Windows Registry Editor Version 5.00
; Hides the 'Upgrade your plan' button in Office 2021/2024 AND Microsoft 365.
; Sets three Office feature switches to false; Office ignores the ones that don't apply to your license.
; No admin rights needed (current user only). Close and reopen Office apps after importing.
; To undo: import Restore_Upgrade_Your_Plan_ALL.reg
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\ExperimentConfigs\ExternalFeatureOverrides\word]
"Microsoft.Office.Licensing.ShowPerpetualUpgrade"="false"
"Microsoft.Office.Licensing.EnablePerpetualUpgrade"="false"